package javacafe.dao;

import java.util.List;

import javacafe.dto.vote.VoteDTO;
import javacafe.dto.vote.VotePlayDTO;


public interface VoteDAO {
	public List<VoteDTO> getVoteList();
	public VoteDTO getVote(VoteDTO dto);
	public VotePlayDTO getVotePlay(VotePlayDTO dto);
	public boolean updateVote(VoteDTO dto);
	public boolean updateVotePlay(VotePlayDTO dto);
	public boolean insertVotePlay(VotePlayDTO dto);
	public boolean insertVote(VoteDTO dto);
	public boolean deleteVotePlay(VotePlayDTO dto);
	public boolean deleteVote(VoteDTO dto);
}
